package com.xiaolin.designmode.iterator;

/**
 * @ClassName Aggregate
 * @Description 抽象聚合类
 * @Detail detail
 * @Author MyPC
 * @Date 2020/11/8
 * @Version 1.0
 */
public interface Aggregate {
    void add(Object object);
    void remove(Object object);
    Iterator getIterator();
}
